package com.quanyan.stadium.entity;

import com.quanyan.common.Plugin.Page;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class TbUserGameCollectExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    protected Page page;

    public TbUserGameCollectExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    public void setPage(Page page) {
        this.page=page;
    }

    public Page getPage() {
        return page;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Long value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Long value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Long value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Long value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Long value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Long value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Long> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Long> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Long value1, Long value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Long value1, Long value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andUidIsNull() {
            addCriterion("uid is null");
            return (Criteria) this;
        }

        public Criteria andUidIsNotNull() {
            addCriterion("uid is not null");
            return (Criteria) this;
        }

        public Criteria andUidEqualTo(Integer value) {
            addCriterion("uid =", value, "uid");
            return (Criteria) this;
        }

        public Criteria andUidNotEqualTo(Integer value) {
            addCriterion("uid <>", value, "uid");
            return (Criteria) this;
        }

        public Criteria andUidGreaterThan(Integer value) {
            addCriterion("uid >", value, "uid");
            return (Criteria) this;
        }

        public Criteria andUidGreaterThanOrEqualTo(Integer value) {
            addCriterion("uid >=", value, "uid");
            return (Criteria) this;
        }

        public Criteria andUidLessThan(Integer value) {
            addCriterion("uid <", value, "uid");
            return (Criteria) this;
        }

        public Criteria andUidLessThanOrEqualTo(Integer value) {
            addCriterion("uid <=", value, "uid");
            return (Criteria) this;
        }

        public Criteria andUidIn(List<Integer> values) {
            addCriterion("uid in", values, "uid");
            return (Criteria) this;
        }

        public Criteria andUidNotIn(List<Integer> values) {
            addCriterion("uid not in", values, "uid");
            return (Criteria) this;
        }

        public Criteria andUidBetween(Integer value1, Integer value2) {
            addCriterion("uid between", value1, value2, "uid");
            return (Criteria) this;
        }

        public Criteria andUidNotBetween(Integer value1, Integer value2) {
            addCriterion("uid not between", value1, value2, "uid");
            return (Criteria) this;
        }

        public Criteria andGameCategoryIdIsNull() {
            addCriterion("game_category_id is null");
            return (Criteria) this;
        }

        public Criteria andGameCategoryIdIsNotNull() {
            addCriterion("game_category_id is not null");
            return (Criteria) this;
        }

        public Criteria andGameCategoryIdEqualTo(Integer value) {
            addCriterion("game_category_id =", value, "gameCategoryId");
            return (Criteria) this;
        }

        public Criteria andGameCategoryIdNotEqualTo(Integer value) {
            addCriterion("game_category_id <>", value, "gameCategoryId");
            return (Criteria) this;
        }

        public Criteria andGameCategoryIdGreaterThan(Integer value) {
            addCriterion("game_category_id >", value, "gameCategoryId");
            return (Criteria) this;
        }

        public Criteria andGameCategoryIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("game_category_id >=", value, "gameCategoryId");
            return (Criteria) this;
        }

        public Criteria andGameCategoryIdLessThan(Integer value) {
            addCriterion("game_category_id <", value, "gameCategoryId");
            return (Criteria) this;
        }

        public Criteria andGameCategoryIdLessThanOrEqualTo(Integer value) {
            addCriterion("game_category_id <=", value, "gameCategoryId");
            return (Criteria) this;
        }

        public Criteria andGameCategoryIdIn(List<Integer> values) {
            addCriterion("game_category_id in", values, "gameCategoryId");
            return (Criteria) this;
        }

        public Criteria andGameCategoryIdNotIn(List<Integer> values) {
            addCriterion("game_category_id not in", values, "gameCategoryId");
            return (Criteria) this;
        }

        public Criteria andGameCategoryIdBetween(Integer value1, Integer value2) {
            addCriterion("game_category_id between", value1, value2, "gameCategoryId");
            return (Criteria) this;
        }

        public Criteria andGameCategoryIdNotBetween(Integer value1, Integer value2) {
            addCriterion("game_category_id not between", value1, value2, "gameCategoryId");
            return (Criteria) this;
        }

        public Criteria andGameTypeIsNull() {
            addCriterion("game_type is null");
            return (Criteria) this;
        }

        public Criteria andGameTypeIsNotNull() {
            addCriterion("game_type is not null");
            return (Criteria) this;
        }

        public Criteria andGameTypeEqualTo(Byte value) {
            addCriterion("game_type =", value, "gameType");
            return (Criteria) this;
        }

        public Criteria andGameTypeNotEqualTo(Byte value) {
            addCriterion("game_type <>", value, "gameType");
            return (Criteria) this;
        }

        public Criteria andGameTypeGreaterThan(Byte value) {
            addCriterion("game_type >", value, "gameType");
            return (Criteria) this;
        }

        public Criteria andGameTypeGreaterThanOrEqualTo(Byte value) {
            addCriterion("game_type >=", value, "gameType");
            return (Criteria) this;
        }

        public Criteria andGameTypeLessThan(Byte value) {
            addCriterion("game_type <", value, "gameType");
            return (Criteria) this;
        }

        public Criteria andGameTypeLessThanOrEqualTo(Byte value) {
            addCriterion("game_type <=", value, "gameType");
            return (Criteria) this;
        }

        public Criteria andGameTypeIn(List<Byte> values) {
            addCriterion("game_type in", values, "gameType");
            return (Criteria) this;
        }

        public Criteria andGameTypeNotIn(List<Byte> values) {
            addCriterion("game_type not in", values, "gameType");
            return (Criteria) this;
        }

        public Criteria andGameTypeBetween(Byte value1, Byte value2) {
            addCriterion("game_type between", value1, value2, "gameType");
            return (Criteria) this;
        }

        public Criteria andGameTypeNotBetween(Byte value1, Byte value2) {
            addCriterion("game_type not between", value1, value2, "gameType");
            return (Criteria) this;
        }

        public Criteria andGameScheduleNumIsNull() {
            addCriterion("game_schedule_num is null");
            return (Criteria) this;
        }

        public Criteria andGameScheduleNumIsNotNull() {
            addCriterion("game_schedule_num is not null");
            return (Criteria) this;
        }

        public Criteria andGameScheduleNumEqualTo(Integer value) {
            addCriterion("game_schedule_num =", value, "gameScheduleNum");
            return (Criteria) this;
        }

        public Criteria andGameScheduleNumNotEqualTo(Integer value) {
            addCriterion("game_schedule_num <>", value, "gameScheduleNum");
            return (Criteria) this;
        }

        public Criteria andGameScheduleNumGreaterThan(Integer value) {
            addCriterion("game_schedule_num >", value, "gameScheduleNum");
            return (Criteria) this;
        }

        public Criteria andGameScheduleNumGreaterThanOrEqualTo(Integer value) {
            addCriterion("game_schedule_num >=", value, "gameScheduleNum");
            return (Criteria) this;
        }

        public Criteria andGameScheduleNumLessThan(Integer value) {
            addCriterion("game_schedule_num <", value, "gameScheduleNum");
            return (Criteria) this;
        }

        public Criteria andGameScheduleNumLessThanOrEqualTo(Integer value) {
            addCriterion("game_schedule_num <=", value, "gameScheduleNum");
            return (Criteria) this;
        }

        public Criteria andGameScheduleNumIn(List<Integer> values) {
            addCriterion("game_schedule_num in", values, "gameScheduleNum");
            return (Criteria) this;
        }

        public Criteria andGameScheduleNumNotIn(List<Integer> values) {
            addCriterion("game_schedule_num not in", values, "gameScheduleNum");
            return (Criteria) this;
        }

        public Criteria andGameScheduleNumBetween(Integer value1, Integer value2) {
            addCriterion("game_schedule_num between", value1, value2, "gameScheduleNum");
            return (Criteria) this;
        }

        public Criteria andGameScheduleNumNotBetween(Integer value1, Integer value2) {
            addCriterion("game_schedule_num not between", value1, value2, "gameScheduleNum");
            return (Criteria) this;
        }

        public Criteria andWinGameScheduleNumIsNull() {
            addCriterion("win_game_schedule_num is null");
            return (Criteria) this;
        }

        public Criteria andWinGameScheduleNumIsNotNull() {
            addCriterion("win_game_schedule_num is not null");
            return (Criteria) this;
        }

        public Criteria andWinGameScheduleNumEqualTo(Integer value) {
            addCriterion("win_game_schedule_num =", value, "winGameScheduleNum");
            return (Criteria) this;
        }

        public Criteria andWinGameScheduleNumNotEqualTo(Integer value) {
            addCriterion("win_game_schedule_num <>", value, "winGameScheduleNum");
            return (Criteria) this;
        }

        public Criteria andWinGameScheduleNumGreaterThan(Integer value) {
            addCriterion("win_game_schedule_num >", value, "winGameScheduleNum");
            return (Criteria) this;
        }

        public Criteria andWinGameScheduleNumGreaterThanOrEqualTo(Integer value) {
            addCriterion("win_game_schedule_num >=", value, "winGameScheduleNum");
            return (Criteria) this;
        }

        public Criteria andWinGameScheduleNumLessThan(Integer value) {
            addCriterion("win_game_schedule_num <", value, "winGameScheduleNum");
            return (Criteria) this;
        }

        public Criteria andWinGameScheduleNumLessThanOrEqualTo(Integer value) {
            addCriterion("win_game_schedule_num <=", value, "winGameScheduleNum");
            return (Criteria) this;
        }

        public Criteria andWinGameScheduleNumIn(List<Integer> values) {
            addCriterion("win_game_schedule_num in", values, "winGameScheduleNum");
            return (Criteria) this;
        }

        public Criteria andWinGameScheduleNumNotIn(List<Integer> values) {
            addCriterion("win_game_schedule_num not in", values, "winGameScheduleNum");
            return (Criteria) this;
        }

        public Criteria andWinGameScheduleNumBetween(Integer value1, Integer value2) {
            addCriterion("win_game_schedule_num between", value1, value2, "winGameScheduleNum");
            return (Criteria) this;
        }

        public Criteria andWinGameScheduleNumNotBetween(Integer value1, Integer value2) {
            addCriterion("win_game_schedule_num not between", value1, value2, "winGameScheduleNum");
            return (Criteria) this;
        }

        public Criteria andRedScoreIsNull() {
            addCriterion("red_score is null");
            return (Criteria) this;
        }

        public Criteria andRedScoreIsNotNull() {
            addCriterion("red_score is not null");
            return (Criteria) this;
        }

        public Criteria andRedScoreEqualTo(Double value) {
            addCriterion("red_score =", value, "redScore");
            return (Criteria) this;
        }

        public Criteria andRedScoreNotEqualTo(Double value) {
            addCriterion("red_score <>", value, "redScore");
            return (Criteria) this;
        }

        public Criteria andRedScoreGreaterThan(Double value) {
            addCriterion("red_score >", value, "redScore");
            return (Criteria) this;
        }

        public Criteria andRedScoreGreaterThanOrEqualTo(Double value) {
            addCriterion("red_score >=", value, "redScore");
            return (Criteria) this;
        }

        public Criteria andRedScoreLessThan(Double value) {
            addCriterion("red_score <", value, "redScore");
            return (Criteria) this;
        }

        public Criteria andRedScoreLessThanOrEqualTo(Double value) {
            addCriterion("red_score <=", value, "redScore");
            return (Criteria) this;
        }

        public Criteria andRedScoreIn(List<Double> values) {
            addCriterion("red_score in", values, "redScore");
            return (Criteria) this;
        }

        public Criteria andRedScoreNotIn(List<Double> values) {
            addCriterion("red_score not in", values, "redScore");
            return (Criteria) this;
        }

        public Criteria andRedScoreBetween(Double value1, Double value2) {
            addCriterion("red_score between", value1, value2, "redScore");
            return (Criteria) this;
        }

        public Criteria andRedScoreNotBetween(Double value1, Double value2) {
            addCriterion("red_score not between", value1, value2, "redScore");
            return (Criteria) this;
        }

        public Criteria andTopFirstNumIsNull() {
            addCriterion("top_first_num is null");
            return (Criteria) this;
        }

        public Criteria andTopFirstNumIsNotNull() {
            addCriterion("top_first_num is not null");
            return (Criteria) this;
        }

        public Criteria andTopFirstNumEqualTo(Integer value) {
            addCriterion("top_first_num =", value, "topFirstNum");
            return (Criteria) this;
        }

        public Criteria andTopFirstNumNotEqualTo(Integer value) {
            addCriterion("top_first_num <>", value, "topFirstNum");
            return (Criteria) this;
        }

        public Criteria andTopFirstNumGreaterThan(Integer value) {
            addCriterion("top_first_num >", value, "topFirstNum");
            return (Criteria) this;
        }

        public Criteria andTopFirstNumGreaterThanOrEqualTo(Integer value) {
            addCriterion("top_first_num >=", value, "topFirstNum");
            return (Criteria) this;
        }

        public Criteria andTopFirstNumLessThan(Integer value) {
            addCriterion("top_first_num <", value, "topFirstNum");
            return (Criteria) this;
        }

        public Criteria andTopFirstNumLessThanOrEqualTo(Integer value) {
            addCriterion("top_first_num <=", value, "topFirstNum");
            return (Criteria) this;
        }

        public Criteria andTopFirstNumIn(List<Integer> values) {
            addCriterion("top_first_num in", values, "topFirstNum");
            return (Criteria) this;
        }

        public Criteria andTopFirstNumNotIn(List<Integer> values) {
            addCriterion("top_first_num not in", values, "topFirstNum");
            return (Criteria) this;
        }

        public Criteria andTopFirstNumBetween(Integer value1, Integer value2) {
            addCriterion("top_first_num between", value1, value2, "topFirstNum");
            return (Criteria) this;
        }

        public Criteria andTopFirstNumNotBetween(Integer value1, Integer value2) {
            addCriterion("top_first_num not between", value1, value2, "topFirstNum");
            return (Criteria) this;
        }

        public Criteria andTopFourNumIsNull() {
            addCriterion("top_four_num is null");
            return (Criteria) this;
        }

        public Criteria andTopFourNumIsNotNull() {
            addCriterion("top_four_num is not null");
            return (Criteria) this;
        }

        public Criteria andTopFourNumEqualTo(Integer value) {
            addCriterion("top_four_num =", value, "topFourNum");
            return (Criteria) this;
        }

        public Criteria andTopFourNumNotEqualTo(Integer value) {
            addCriterion("top_four_num <>", value, "topFourNum");
            return (Criteria) this;
        }

        public Criteria andTopFourNumGreaterThan(Integer value) {
            addCriterion("top_four_num >", value, "topFourNum");
            return (Criteria) this;
        }

        public Criteria andTopFourNumGreaterThanOrEqualTo(Integer value) {
            addCriterion("top_four_num >=", value, "topFourNum");
            return (Criteria) this;
        }

        public Criteria andTopFourNumLessThan(Integer value) {
            addCriterion("top_four_num <", value, "topFourNum");
            return (Criteria) this;
        }

        public Criteria andTopFourNumLessThanOrEqualTo(Integer value) {
            addCriterion("top_four_num <=", value, "topFourNum");
            return (Criteria) this;
        }

        public Criteria andTopFourNumIn(List<Integer> values) {
            addCriterion("top_four_num in", values, "topFourNum");
            return (Criteria) this;
        }

        public Criteria andTopFourNumNotIn(List<Integer> values) {
            addCriterion("top_four_num not in", values, "topFourNum");
            return (Criteria) this;
        }

        public Criteria andTopFourNumBetween(Integer value1, Integer value2) {
            addCriterion("top_four_num between", value1, value2, "topFourNum");
            return (Criteria) this;
        }

        public Criteria andTopFourNumNotBetween(Integer value1, Integer value2) {
            addCriterion("top_four_num not between", value1, value2, "topFourNum");
            return (Criteria) this;
        }

        public Criteria andTopEightNumIsNull() {
            addCriterion("top_eight_num is null");
            return (Criteria) this;
        }

        public Criteria andTopEightNumIsNotNull() {
            addCriterion("top_eight_num is not null");
            return (Criteria) this;
        }

        public Criteria andTopEightNumEqualTo(Integer value) {
            addCriterion("top_eight_num =", value, "topEightNum");
            return (Criteria) this;
        }

        public Criteria andTopEightNumNotEqualTo(Integer value) {
            addCriterion("top_eight_num <>", value, "topEightNum");
            return (Criteria) this;
        }

        public Criteria andTopEightNumGreaterThan(Integer value) {
            addCriterion("top_eight_num >", value, "topEightNum");
            return (Criteria) this;
        }

        public Criteria andTopEightNumGreaterThanOrEqualTo(Integer value) {
            addCriterion("top_eight_num >=", value, "topEightNum");
            return (Criteria) this;
        }

        public Criteria andTopEightNumLessThan(Integer value) {
            addCriterion("top_eight_num <", value, "topEightNum");
            return (Criteria) this;
        }

        public Criteria andTopEightNumLessThanOrEqualTo(Integer value) {
            addCriterion("top_eight_num <=", value, "topEightNum");
            return (Criteria) this;
        }

        public Criteria andTopEightNumIn(List<Integer> values) {
            addCriterion("top_eight_num in", values, "topEightNum");
            return (Criteria) this;
        }

        public Criteria andTopEightNumNotIn(List<Integer> values) {
            addCriterion("top_eight_num not in", values, "topEightNum");
            return (Criteria) this;
        }

        public Criteria andTopEightNumBetween(Integer value1, Integer value2) {
            addCriterion("top_eight_num between", value1, value2, "topEightNum");
            return (Criteria) this;
        }

        public Criteria andTopEightNumNotBetween(Integer value1, Integer value2) {
            addCriterion("top_eight_num not between", value1, value2, "topEightNum");
            return (Criteria) this;
        }

        public Criteria andTopSixteenNumIsNull() {
            addCriterion("top_sixteen_num is null");
            return (Criteria) this;
        }

        public Criteria andTopSixteenNumIsNotNull() {
            addCriterion("top_sixteen_num is not null");
            return (Criteria) this;
        }

        public Criteria andTopSixteenNumEqualTo(Integer value) {
            addCriterion("top_sixteen_num =", value, "topSixteenNum");
            return (Criteria) this;
        }

        public Criteria andTopSixteenNumNotEqualTo(Integer value) {
            addCriterion("top_sixteen_num <>", value, "topSixteenNum");
            return (Criteria) this;
        }

        public Criteria andTopSixteenNumGreaterThan(Integer value) {
            addCriterion("top_sixteen_num >", value, "topSixteenNum");
            return (Criteria) this;
        }

        public Criteria andTopSixteenNumGreaterThanOrEqualTo(Integer value) {
            addCriterion("top_sixteen_num >=", value, "topSixteenNum");
            return (Criteria) this;
        }

        public Criteria andTopSixteenNumLessThan(Integer value) {
            addCriterion("top_sixteen_num <", value, "topSixteenNum");
            return (Criteria) this;
        }

        public Criteria andTopSixteenNumLessThanOrEqualTo(Integer value) {
            addCriterion("top_sixteen_num <=", value, "topSixteenNum");
            return (Criteria) this;
        }

        public Criteria andTopSixteenNumIn(List<Integer> values) {
            addCriterion("top_sixteen_num in", values, "topSixteenNum");
            return (Criteria) this;
        }

        public Criteria andTopSixteenNumNotIn(List<Integer> values) {
            addCriterion("top_sixteen_num not in", values, "topSixteenNum");
            return (Criteria) this;
        }

        public Criteria andTopSixteenNumBetween(Integer value1, Integer value2) {
            addCriterion("top_sixteen_num between", value1, value2, "topSixteenNum");
            return (Criteria) this;
        }

        public Criteria andTopSixteenNumNotBetween(Integer value1, Integer value2) {
            addCriterion("top_sixteen_num not between", value1, value2, "topSixteenNum");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNull() {
            addCriterion("create_time is null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNotNull() {
            addCriterion("create_time is not null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeEqualTo(Date value) {
            addCriterion("create_time =", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotEqualTo(Date value) {
            addCriterion("create_time <>", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThan(Date value) {
            addCriterion("create_time >", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("create_time >=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThan(Date value) {
            addCriterion("create_time <", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThanOrEqualTo(Date value) {
            addCriterion("create_time <=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIn(List<Date> values) {
            addCriterion("create_time in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotIn(List<Date> values) {
            addCriterion("create_time not in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeBetween(Date value1, Date value2) {
            addCriterion("create_time between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotBetween(Date value1, Date value2) {
            addCriterion("create_time not between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNull() {
            addCriterion("update_time is null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNotNull() {
            addCriterion("update_time is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeEqualTo(Date value) {
            addCriterion("update_time =", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotEqualTo(Date value) {
            addCriterion("update_time <>", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThan(Date value) {
            addCriterion("update_time >", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("update_time >=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThan(Date value) {
            addCriterion("update_time <", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThanOrEqualTo(Date value) {
            addCriterion("update_time <=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIn(List<Date> values) {
            addCriterion("update_time in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotIn(List<Date> values) {
            addCriterion("update_time not in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeBetween(Date value1, Date value2) {
            addCriterion("update_time between", value1, value2, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotBetween(Date value1, Date value2) {
            addCriterion("update_time not between", value1, value2, "updateTime");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}